package com.sendi.mobilework.util;

import com.sendi.mobilework.global.GlobalContent;

import retrofit2.GsonConverterFactory;
import retrofit2.Retrofit;

/**
 * Created by Administrator on 2017/4/10.
 */

public class HttpUtils {

    public static Retrofit getRetrofit(String path){
        Retrofit retrofit=new Retrofit.Builder()
                .baseUrl(path)
                .addConverterFactory(GsonConverterFactory.create())
                .build();

        return retrofit;
    }
}
